package com.tk.exam.mapper;

import com.tk.exam.domain.TkExamPaper;
import com.tk.exam.domain.TkExamPaperExample;
import java.util.List;

import com.tk.exam.vo.paper.ExamPaperVo;
import com.tk.exam.vo.paper.SearchPaperListResp;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface TkExamPaperMapper {
    int countByExample(TkExamPaperExample example);

    int deleteByExample(TkExamPaperExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TkExamPaper record);

    int insertSelective(TkExamPaper record);

    List<TkExamPaper> selectByExampleWithRowbounds(TkExamPaperExample example, RowBounds rowBounds);

    List<TkExamPaper> selectByExample(TkExamPaperExample example);

    TkExamPaper selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TkExamPaper record, @Param("example") TkExamPaperExample example);

    int updateByExample(@Param("record") TkExamPaper record, @Param("example") TkExamPaperExample example);

    int updateByPrimaryKeySelective(TkExamPaper record);

    int updateByPrimaryKey(TkExamPaper record);

    public List<ExamPaperVo> searchExamPapers();
}